package cn.momoshenchi.util;

/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/2/11 - 14:30
 */
public class ResultInfo
{
    private  Integer code=200;
    private  String msg="success";
    private  Object result;

    public Object getResult()
    {
        return result;
    }

    public void setResult(Object result)
    {
        this.result = result;
    }

    public String getMsg()
    {
        return msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public Integer getCode()
    {
        return code;
    }

    public void setCode(Integer code)
    {
        this.code = code;
    }

    public ResultInfo(Integer code, String msg, Object result)
    {
        this.code = code;
        this.msg = msg;
        this.result = result;
    }

    public ResultInfo()
    {
    }

    public ResultInfo(Integer code, String msg)
    {
        this.code = code;
        this.msg = msg;
    }

    public ResultInfo(Object result)
    {
        this.result = result;
    }
}
